<?xml version="1.0"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="es" xml:lang="es">
<head>
 <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
 <title>Layout fijo</title>
 <link href="estilo.css" rel="stylesheet" type="text/css" />
 
<script>
var droid = new Android();
var fetch_data = function(option,data1,data2) {

    if(option=="launch") option = document.getElementById('launch').value;
    if(data1!=null) option = option + "," + data1;
    if(data2!=null) option = option + "," + data2;

	Android.showToast(option);

};

function get(name){
	   if(name=(new RegExp('[?&]'+encodeURIComponent(name)+'=([^&]*)')).exec(location.search))
	      return decodeURIComponent(name[1]);
};

function carga() {
	document.getElementById('desc').innerHTML = get("desc");
	document.getElementById('cabecera').innerHTML = "<img style='max-height:120px' width='" + get("width") + "' height='auto' src='" + get("logo") + "'>";
};

</script>
 
</head>
<body onload="carga()">
 

 
 <!-- Capa destinada al header -->
 <div id="cabecera">
<!--   <img src="http://www.elprimerodelalista.es/images/logo.png"></img> -->
 </div>
 
 <!-- Capa de contenidos, columnas, etc. -->
 <div id="principal">
<div id="desc" class="texto"></div>
<center> 
 <span class="columna">  <a href="javascript:fetch_data('llamada')" class="enlaceboton"><img src="phone.png"></img></a></span> 
  <span class="columna"> <a href="javascript:fetch_data('mail')" class="enlaceboton"><img src="email.png"></img></a></span> 
  <span class="columna"> <a href="javascript:fetch_data('mapa')" class="enlaceboton"><img src="map.png"></img></a>    </span> 
   <span class="columna"> <a href="javascript:fetch_data('web')" class="enlaceboton"><img src="web.png"></img></a>    </span> 
 </center>
 </div>

 <!-- Capa para el pie de página -->
 <div id="pie">
		<p  class="footer"><b>&copy;tucanalmovil </b>más información <a href="javascript:fetch_data('tucanalmovil')"">aquí</a></p>
 </div>
 

</body>
</html>